#import<iostream>
main(){char a=getchar(),b=getchar();std::cout<<(a-'0')+(b-'0');}